package com.zj.mes.sys.mapper;

import com.zj.mes.common.entity.Resource;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
@Mapper
public interface PermissionMapper {
    List<Resource> getPower(@Param("state") Integer state);

    int updatePermissionStatus(Integer id, Integer status);
}
